package org.ttitfly.zuoyue.dao.complaint;

import org.springframework.stereotype.Component;
import org.springside.modules.orm.hibernate.HibernateDao;
import org.ttitfly.zuoyue.entity.complaint.Complaint;

@Component
public class ComplaintHibernateDao extends HibernateDao<Complaint, Long> {
	
	public Complaint getByComplaintId(int complaintId) {
		return this.findUniqueBy("id", complaintId);
	}

//	public void update(RoomProject roomProject) {
//		save(roomProject);
//	}
	
}
